package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * DDOS攻击表对象 tb_ddos
 * 
 * @author ruoyi
 * @date 2025-02-20
 */
public class TbDdos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Integer ddosId;

    /** 发生时间 */
    @Excel(name = "发生时间")
    private String time;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String institutionCode;

    /** 机构简称 */
    @Excel(name = "机构简称")
    private String institutionShort;

    /** 攻击目的地址 */
    @Excel(name = "攻击目的地址")
    private String desinationIp;

    /** 攻击目标系统 */
    @Excel(name = "攻击目标系统")
    private String targetSystem;

    /** 攻击类型 */
    @Excel(name = "攻击类型")
    private String attackType;

    /** 攻击类型细分子类 */
    @Excel(name = "攻击类型细分子类")
    private String attackTypeSub;

    /** 攻击流量 */
    @Excel(name = "攻击流量")
    private String attackFlow;

    /** 攻击源地址 */
    @Excel(name = "攻击源地址")
    private String sourceIp;

    /** 推送状态 */
    @Excel(name = "推送状态")
    private String status;

    /** 入库时间 */
    @Excel(name = "入库时间")
    private Date createTime;

    /** 指标有效标志 */
    @Excel(name = "指标有效标志")
    private String delFlag;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setDdosId(Integer ddosId)
    {
        this.ddosId = ddosId;
    }

    public Integer getDdosId() 
    {
        return ddosId;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setInstitutionShort(String institutionShort) 
    {
        this.institutionShort = institutionShort;
    }

    public String getInstitutionShort() 
    {
        return institutionShort;
    }
    public void setDesinationIp(String desinationIp) 
    {
        this.desinationIp = desinationIp;
    }

    public String getDesinationIp() 
    {
        return desinationIp;
    }
    public void setTargetSystem(String targetSystem) 
    {
        this.targetSystem = targetSystem;
    }

    public String getTargetSystem() 
    {
        return targetSystem;
    }
    public void setAttackType(String attackType) 
    {
        this.attackType = attackType;
    }

    public String getAttackType() 
    {
        return attackType;
    }
    public void setAttackTypeSub(String attackTypeSub) 
    {
        this.attackTypeSub = attackTypeSub;
    }

    public String getAttackTypeSub() 
    {
        return attackTypeSub;
    }
    public void setAttackFlow(String attackFlow) 
    {
        this.attackFlow = attackFlow;
    }

    public String getAttackFlow() 
    {
        return attackFlow;
    }
    public void setSourceIp(String sourceIp) 
    {
        this.sourceIp = sourceIp;
    }

    public String getSourceIp() 
    {
        return sourceIp;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ddosId", getDdosId())
            .append("time", getTime())
            .append("institutionCode", getInstitutionCode())
            .append("institutionShort", getInstitutionShort())
            .append("desinationIp", getDesinationIp())
            .append("targetSystem", getTargetSystem())
            .append("attackType", getAttackType())
            .append("attackTypeSub", getAttackTypeSub())
            .append("attackFlow", getAttackFlow())
            .append("sourceIp", getSourceIp())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
